// 持久层
// 引入mongoose模块
const mongoose = require("mongoose");

let navSchema = new mongoose.Schema({
    icon: String, // 图标链接
    name: String, // 金刚区导航名称
    createTime: Date, // 创建时间
});

module.exports = mongoose.model("navsModel", navSchema, "navs");